/**
 * @Author: 田乐
 * @Date: 2019/08/27
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019/08/27
 */
const RouteView = () => import('@/layout/RouteView');
// 异步路由组件加载
const AsyncComponent = __name__ => () => import(`@/pages/${__name__}`);

// 菜单路由
const menuRoutes = [
  {
    path: '/omSale',
    meta: {
      title: '销售管理',
      icon: 'el-icon-s-tools'
    },
    redirect: '/omSale',
    component: RouteView,
    children: [
      {
        path: '/omSale/DealerDaily',
        meta: {
          title: '日报管理'
        },
        component: RouteView,
        children: [
          {
            path: '/omSale/DealerDaily/Dealerquiry',
            meta: {
              title: '日报查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/Dealerquiry')
          },
          {
            path: '/omSale/DealerDaily/DealerQaudit',
            meta: {
              title: '日报区域经理审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/DealerQaudit')
          },
          {
            path: '/omSale/DealerDaily/DealerBaudit',
            meta: {
              title: '日报事业部主任审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/DealerBaudit')
          },
          {
            path: '/omSale/DealerDaily/DealerModelMaintain',
            meta: {
              title: '日报维护车型',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/DealerModelMaintain')
          },
          {
            path: '/omSale/DealerDaily/Dealermodel',
            meta: {
              title: '日报查询车型',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/Dealermodel')
          },
          {
            path: '/omSale/DealerDaily/DealerSummodel',
            meta: {
              title: '日报统计车型',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/DealerSummodel')
          },
          {
            path: '/omSale/DealerDaily/DealerSum',
            meta: {
              title: '日报统计',
              keepAlive: true
            },
            component: AsyncComponent('omSale/DealerDaily/DealerSum')
          }
        ]
      },
      {
        path: '/omSale/vehicleParameters',
        meta: {
          title: '整车基础参数管理'
        },
        redirect: '/omSale/vehicleParameters',
        component: RouteView,
        children: [
          {
            path: '/omSale/vehicleParameters/businessParameters',
            meta: {
              title: '业务参数维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/businessParameters')
          },
          {
            path: '/omSale/vehicleParameters/capitalVerification',
            meta: {
              title: '整车资金校验规则维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/capitalVerification')
          },
          {
            path: '/omSale/vehicleParameters/vehicleType',
            meta: {
              title: '品牌车系车型维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/vehicleType')
          },
          {
            path: '/omSale/vehicleParameters/vehicleColour',
            meta: {
              title: '车辆颜色维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/vehicleColour')
          },
          {
            path: '/omSale/vehicleParameters/vehicleMaterials',
            meta: {
              title: ' 整车物料维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/vehicleMaterials')
          },
          {
            path: '/omSale/vehicleParameters/materialPrice',
            meta: {
              title: '整车物料价格查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/materialPrice')
          },
          {
            path: '/omSale/vehicleParameters/fieldType',
            meta: {
              title: '字段类型维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/fieldType')
          },
          {
            path: '/omSale/vehicleParameters/wholesaleProducts',
            meta: {
              title: '批售产品组维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/wholesaleProducts')
          },
          {
            path: '/omSale/vehicleParameters/saleAuthorization',
            meta: {
              title: '经销商批售车型授权',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/saleAuthorization')
          },
          {
            path: '/omSale/vehicleParameters/PlanOrderTime',
            meta: {
              title: '计划&订单提报时间设置 ',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/PlanOrderTime')
          },
          {
            path: '/omSale/vehicleParameters/vehicleSpecialPrice',
            meta: {
              title: '整车物料价格维护(B端)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/vehicleParameters/vehicleSpecialPrice')
          }
        ]
      },
      {
        path: '/omSale/salesPlan',
        meta: {
          title: '销售计划管理'
        },
        redirect: '/omSale/salesPlan',
        component: RouteView,
        children: [
          {
            path: '/omSale/salesPlan/MonthTargetImport',
            meta: {
              title: 'C端月度指标导入',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MonthTargetImport')
          },
          {
            path: '/omSale/salesPlan/MonthTargetImportSideB',
            meta: {
              title: 'B端月度指标导入',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MonthTargetImportSideB')
          },
          {
            path: '/omSale/salesPlan/TemplateDistribution',
            meta: {
              title: '需求计划模板下发',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/TemplateDistribution')
          },
          {
            path: '/omSale/salesPlan/MonthTargetQuery',
            meta: {
              title: 'C端月度指标查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MonthTargetQuery')
          },
          {
            path: '/omSale/salesPlan/MonthPlanQuery',
            meta: {
              title: 'C端月度计划查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MonthPlanQuery')
          },
          {
            path: '/omSale/salesPlan/planFinancialAuditSideB',
            meta: {
              title: 'B端计划财务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/planFinancialAuditSideB')
          },
          {
            path: '/omSale/salesPlan/planBusinessAuditSideB',
            meta: {
              title: 'B端计划业务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/planBusinessAuditSideB')
          },
          {
            path: '/omSale/salesPlan/N1monthlyPlan',
            meta: {
              title: '需求计划汇总查询(N+1)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/N1monthlyPlan')
          },
          {
            path: '/omSale/salesPlan/N2monthlyPlan',
            meta: {
              title: '需求计划汇总查询(N+2&N+3)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/N2monthlyPlan')
          },
          {
            path: '/omSale/salesPlan/RequirementCompletion',
            meta: {
              title: '需求及完成情况分析',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/RequirementCompletion')
          },
          {
            path: '/omSale/salesPlan/MonthlyTargetSetting',
            meta: {
              title: '月度目标制定',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MonthlyTargetSetting')
          },
          {
            path: '/omSale/salesPlan/mdwT',
            meta: {
              title: '事业部月度拆解',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/mdwT')
          },
          {
            path: '/omSale/salesPlan/BusinessDivisionCommit',
            meta: {
              title: '月度目标事业部提交',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/BusinessDivisionCommit')
          },
          {
            path: '/omSale/salesPlan/MinisterReview',
            meta: {
              title: '月度目标事业部部长审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/MinisterReview')
          },
          {
            path: '/omSale/salesPlan/HeadquartersApproval',
            meta: {
              title: '月度目标总部审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/HeadquartersApproval')
          },
          {
            path: '/omSale/salesPlan/IssuedBusinessDepartment',
            meta: {
              title: '月度目标事业部下发',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/IssuedBusinessDepartment')
          },
          {
            path: '/omSale/salesPlan/DivisionSearch',
            meta: {
              title: '月度目标查询(事业部)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/DivisionSearch')
          },
          {
            path: '/omSale/salesPlan/headquartersSearch',
            meta: {
              title: '月度目标查询(总部)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/headquartersSearch')
          },
          {
            path: '/omSale/salesPlan/GoalAccomplished',
            meta: {
              title: '目标及完成情况分析',
              keepAlive: true
            },
            component: AsyncComponent('omSale/salesPlan/GoalAccomplished')
          }
        ]
      },
      {
        path: '/omSale/KeyCustomers',
        meta: {
          title: '大客户订单管理'
        },
        redirect: '/omSale/KeyCustomers',
        component: RouteView,
        children: [
          {
            path: '/omSale/KeyCustomers/OrderSubmission',
            meta: {
              title: '大客户订单提报',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/OrderSubmission')
          },
          {
            path: '/omSale/KeyCustomers/OrderReview',
            meta: {
              title: '大客户订单审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/OrderReview')
          },
          {
            path: '/omSale/KeyCustomers/OrderInquiry',
            meta: {
              title: '大客户订单查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/OrderInquiry')
          },
          {
            path: '/omSale/KeyCustomers/PickAddress',
            meta: {
              title: '大客户收车地址调整',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/PickAddress')
          },
          {
            path: '/omSale/KeyCustomers/PickAddressAudit',
            meta: {
              title: '大客户收车地址调整财务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/PickAddressAudit')
          },
          {
            path: '/omSale/KeyCustomers/PickAddressSearch',
            meta: {
              title: '大客户收车地址调整查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/KeyCustomers/PickAddressSearch')
          }
        ]
      },
      {
        path: '/omSale/OrderManagement',
        meta: {
          title: '订单管理'
        },
        redirect: '/omSale/OrderManagement',
        component: RouteView,
        children: [
          {
            path: '/omSale/OrderManagement/PickAddress',
            meta: {
              title: '经销商收车地址维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/PickAddress')
          },
          {
            path: '/omSale/OrderManagement/afOrderSubmission',
            meta: {
              title: '北汽新能源订单提报',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/afOrderSubmission')
          },
          {
            path: '/omSale/OrderManagement/PurchaseOrder',
            meta: {
              title: '订货单审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/PurchaseOrder')
          },
          {
            path: '/omSale/OrderManagement/HeadquartersOrder',
            meta: {
              title: '总部订货单导入',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/HeadquartersOrder')
          },
          {
            path: '/omSale/OrderManagement/OrderAllocation',
            meta: {
              title: '订单分配',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderAllocation')
          },
          {
            path: '/omSale/OrderManagement/acknowledgementOrder',
            meta: {
              title: '订单确认',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/acknowledgementOrder')
          },
          {
            path: '/omSale/OrderManagement/OrderFinancialAudit',
            meta: {
              title: '订单财务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderFinancialAudit')
          },
          {
            path: '/omSale/OrderManagement/VehicleDelivery',
            meta: {
              title: '车辆发运',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/VehicleDelivery')
          },
          {
            path: '/omSale/OrderManagement/OrderDetailsQuery',
            meta: {
              title: '订单明细查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderDetailsQuery')
          },
          {
            path: '/omSale/OrderManagement/OrderDetailQueryC',
            meta: {
              title: 'C端订单明细查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderDetailQueryC')
          },
          {
            path: '/omSale/OrderManagement/MonthlySales',
            meta: {
              title: '月度销量查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/MonthlySales')
          },
          {
            path: '/omSale/OrderManagement/PurchaseOrderQuery',
            meta: {
              title: '订货单查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/PurchaseOrderQuery')
          },
          {
            path: '/omSale/OrderManagement/DirectSaleAudit',
            meta: {
              title: '直营订单开票申请财务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/DirectSaleAudit')
          },

          {
            path: '/omSale/OrderManagement/afPurchaseOrder',
            meta: {
              title: '调货单审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/afPurchaseOrder')
          },
          {
            path: '/omSale/OrderManagement/afOrderAllocation',
            meta: {
              title: '调货单分配',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/afOrderAllocation')
          },
          {
            path: '/omSale/OrderManagement/afAcknowledgementOrder',
            meta: {
              title: '调货单确认',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/afAcknowledgementOrder')
          },
          {
            path: '/omSale/OrderManagement/afVehicleDelivery',
            meta: {
              title: '调货单车辆发运',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/afVehicleDelivery')
          },
          {
            path: '/omSale/OrderManagement/OrderAuditConfirm',
            meta: {
              title: 'C端订单审核确认',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderAuditConfirm')
          },
          {
            path: '/omSale/OrderManagement/EOrderTurnDealer',
            meta: {
              title: '电商订单更换经销商',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/EOrderTurnDealer')
          },
          {
            path: '/omSale/OrderManagement/OrderAuditConfirmSideB',
            meta: {
              title: 'B端订单审核确认',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderAuditConfirmSideB')
          },
          {
            path: '/omSale/OrderManagement/ShipmentOrderQuery',
            meta: {
              title: '货运单查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/ShipmentOrderQuery')
          },
          {
            path: '/omSale/OrderManagement/OrderDetailQueryB',
            meta: {
              title: 'B端订单明细查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/OrderManagement/OrderDetailQueryB')
          }
        ]
      },
      {
        path: '/omSale/HeadquartersInventory',
        meta: {
          title: '总部库存管理'
        },
        redirect: '/omSale/HeadquartersInventory',
        component: RouteView,
        children: [
          {
            path: '/omSale/HeadquartersInventory/WarehouseMaintenance',
            meta: {
              title: '仓库维护',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/WarehouseMaintenance')
          },
          {
            path: '/omSale/HeadquartersInventory/VehicleTransfer',
            meta: {
              title: '车辆移库',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/VehicleTransfer')
          },
          {
            path: '/omSale/HeadquartersInventory/DetailsInquiry',
            meta: {
              title: '总部库存明细查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/DetailsInquiry')
          },
          {
            path: '/omSale/HeadquartersInventory/HeadquartersResources',
            meta: {
              title: '总部资源管理',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/HeadquartersResources')
          },
          {
            path: '/omSale/HeadquartersInventory/AggregateQuery',
            meta: {
              title: '总部库存汇总查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/AggregateQuery')
          },
          {
            path: '/omSale/HeadquartersInventory/WarehousingQuery',
            meta: {
              title: '总部入库查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/WarehousingQuery')
          },
          {
            path: '/omSale/HeadquartersInventory/VehicleRegistration',
            meta: {
              title: '车籍查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/VehicleRegistration')
          },
          {
            path: '/omSale/HeadquartersInventory/VirtualCarMaintenance',
            meta: {
              title: '虚拟车管理',
              keepAlive: true
            },
            component: AsyncComponent('omSale/HeadquartersInventory/VirtualCarMaintenance')
          }
        ]
      },
      {
        path: '/omSale/StoreInventory',
        meta: {
          title: '店端库存管理'
        },
        redirect: '/omSale/StoreInventory',
        component: RouteView,
        children: [
          {
            path: '/omSale/StoreInventory/DealerInventory',
            meta: {
              title: '经销商库存实时查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/StoreInventory/DealerInventory')
          },
          {
            path: '/omSale/StoreInventory/KeyCustomerCars',
            meta: {
              title: '大客户车辆查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/StoreInventory/KeyCustomerCars')
          },
          {
            path: '/omSale/StoreInventory/InventoryFreeze',
            meta: {
              title: '店端库存冻结',
              keepAlive: true
            },
            component: AsyncComponent('omSale/StoreInventory/InventoryFreeze')
          }
        ]
      },
      {
        path: '/omSale/allocation',
        meta: {
          title: '调拨管理'
        },
        redirect: '/omSale/allocation',
        component: RouteView,
        children: [
          {
            path: '/omSale/allocation/HeadquartersAudit',
            meta: {
              title: '调拨总部审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/allocation/HeadquartersAudit')
          },
          {
            path: '/omSale/allocation/allocationQuery',
            meta: {
              title: '调拨查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/allocation/allocationQuery')
          }
        ]
      },
      {
        path: '/omSale/PurchaseReturn',
        meta: {
          title: '采购提货管理'
        },
        redirect: '/omSale/PurchaseReturn',
        component: RouteView,
        children: [
          {
            path: '/omSale/PurchaseReturn/ReturnAudit',
            meta: {
              title: '采购退货申请',
              keepAlive: true
            },
            component: AsyncComponent('omSale/PurchaseReturn/ReturnAudit')
          },
          {
            path: '/omSale/PurchaseReturn/accounting',
            meta: {
              title: '采购退货财务审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/PurchaseReturn/accounting')
          },
          {
            path: '/omSale/PurchaseReturn/FinancialAudit',
            meta: {
              title: '采购退货金融审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/PurchaseReturn/FinancialAudit')
          },
          {
            path: '/omSale/PurchaseReturn/ReturnInquiry',
            meta: {
              title: '采购退货查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/PurchaseReturn/ReturnInquiry')
          }
        ]
      },
      {
        path: '/omSale/ActualSales',
        meta: {
          title: '实销管理'
        },
        redirect: '/omSale/ActualSales',
        component: RouteView,
        children: [
          {
            path: '/omSale/ActualSales/RetailOrders',
            meta: {
              title: '零售订单查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/RetailOrders')
          },
          {
            path: '/omSale/ActualSales/RetailOrdersAF',
            meta: {
              title: '零售订单查询（ARCFOX）',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/RetailOrdersAF')
          },
          {
            path: '/omSale/ActualSales/SalesApproval',
            meta: {
              title: '实销审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/SalesApproval')
          },
          {
            path: '/omSale/ActualSales/SalesQuery',
            meta: {
              title: '实销信息查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/SalesQuery')
          },
          {
            path: '/omSale/ActualSales/SalesMonthQuery',
            meta: {
              title: '月度销量查询（零售）',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/SalesMonthQuery')
          },
          {
            path: '/omSale/ActualSales/InvoiceVerification',
            meta: {
              title: '发票信息核查',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/InvoiceVerification')
          },
          {
            path: '/omSale/ActualSales/AdvanceSales',
            meta: {
              title: '提前或延期实销分析',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/AdvanceSales')
          },
          {
            path: '/omSale/ActualSales/UsageMonitoring',
            meta: {
              title: '经销商使用情况监控',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/UsageMonitoring')
          },
          {
            path: '/omSale/ActualSales/ActualSalesChange',
            meta: {
              title: '实销信息变更查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/ActualSales/ActualSalesChange')
          }
        ]
      },
      {
        path: '/omSale/SalesReturn',
        meta: {
          title: '实销退货管理'
        },
        redirect: '/omSale/SalesReturn',
        component: RouteView,
        children: [
          {
            path: '/omSale/SalesReturn/ReturnApplication',
            meta: {
              title: '销售退车申请',
              keepAlive: true
            },
            component: AsyncComponent('omSale/SalesReturn/ReturnApplication')
          },
          {
            path: '/omSale/SalesReturn/ReturnConfirmation',
            meta: {
              title: '销售退车确认',
              keepAlive: true
            },
            component: AsyncComponent('omSale/SalesReturn/ReturnConfirmation')
          },
          {
            path: '/omSale/SalesReturn/ReturnQuery',
            meta: {
              title: '销售退车查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/SalesReturn/ReturnQuery')
          }
        ]
      },
      {
        path: '/omSale/Registration',
        meta: {
          title: '上牌管理'
        },
        redirect: '/omSale/Registration',
        component: RouteView,
        children: [
          {
            path: '/omSale/Registration/RegistrationAudit',
            meta: {
              title: '上牌信息审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/Registration/RegistrationAudit')
          },
          {
            path: '/omSale/Registration/RegistrationInquiry',
            meta: {
              title: '上牌信息查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/Registration/RegistrationInquiry')
          }
        ]
      },
      {
        path: '/omSale/subsidy',
        meta: {
          title: '补贴管理'
        },
        redirect: '/omSale/subsidy',
        component: RouteView,
        children: [
          {
            path: '/omSale/subsidy/subsidyAudit',
            meta: {
              title: '补贴信息审核',
              keepAlive: true
            },
            component: AsyncComponent('omSale/subsidy/subsidyAudit')
          },
          {
            path: '/omSale/subsidy/subsidyInquiry',
            meta: {
              title: '补贴信息查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/subsidy/subsidyInquiry')
          }
        ]
      },
      {
        path: '/omSale/certificate',
        meta: {
          title: '合格证管理'
        },
        redirect: '/omSale/certificate',
        component: RouteView,
        children: [
          {
            path: '/omSale/certificate/NoticePrinting',
            meta: {
              title: '送达通知书打印',
              keepAlive: true
            },
            component: AsyncComponent('omSale/certificate/NoticePrinting')
          },
          {
            path: '/omSale/certificate/MailRegistration',
            meta: {
              title: '合格证邮寄登记',
              keepAlive: true
            },
            component: AsyncComponent('omSale/certificate/MailRegistration')
          },
          {
            path: '/omSale/certificate/MailInquiry',
            meta: {
              title: '合格证邮寄查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/certificate/MailInquiry')
          }
        ]
      },
      {
        path: '/omSale/TestDrive',
        meta: {
          title: '试乘试驾管理'
        },
        redirect: '/omSale/TestDrive',
        component: RouteView,
        children: [
          {
            path: '/omSale/TestDrive/BusinessUnitApproval',
            meta: {
              title: '试乘试驾车事业部审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/BusinessUnitApproval')
          },
          {
            path: '/omSale/TestDrive/SaleUnitApproval',
            meta: {
              title: '试乘试驾车销售部审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/SaleUnitApproval')
          },
          {
            path: '/omSale/TestDrive/TestDriveQuery',
            meta: {
              title: '试乘试驾车查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/TestDriveQuery')
          },
          {
            path: '/omSale/TestDrive/RebateCashApproval',
            meta: {
              title: '试乘试驾车返利兑现审批',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/RebateCashApproval')
          },
          {
            path: '/omSale/TestDrive/RebateQuery',
            meta: {
              title: '试乘试驾车返利查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/RebateQuery')
          },
          {
            path: '/omSale/TestDrive/TurnGeneralManagerApproval',
            meta: {
              title: '试驾车转常规车审批(区域经理审批)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/TurnGeneralManagerApproval')
          },
          {
            path: '/omSale/TestDrive/TurnGeneralSaleApproval',
            meta: {
              title: '试驾车转常规车审批(销售管理部审批)',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/TurnGeneralSaleApproval')
          },
          {
            path: '/omSale/TestDrive/TurnGeneralQuery',
            meta: {
              title: '试驾车转常规车查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/TurnGeneralQuery')
          },
          {
            path: '/omSale/TestDrive/CheckInfoQuery',
            meta: {
              title: '试乘试驾车检核信息查询',
              keepAlive: true
            },
            component: AsyncComponent('omSale/TestDrive/CheckInfoQuery')
          }
        ]
      },
      {
        path: '/omSale/reportManage',
        meta: {
          title: '数据报表'
        },
        redirect: '/omSale/reportManage',
        component: RouteView,
        children: [
          {
            path: '/omSale/reportManage/saleDailyReport',
            meta: {
              title: '销售日清报表',
              keepAlive: true
            },
            component: AsyncComponent('omSale/reportManage/saleDailyReport')
          }
        ]
      }
    ]
  }
];
export default menuRoutes;
